package com.example.shushiyunsst.fragment.main.home.recycler.bean;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 中部图标
 */
public class MiddleImgEntity implements HomeEntity {

    public static final int INTENT_TO_NATIVE = 0;

    @JSONField(name = "aid")
    private int aid;

    @JSONField(name = "modName")
    private String modName;

    @JSONField(name = "modUrl")
    private String modUrl;

    @JSONField(name = "modSort")
    private int modSort;

    @JSONField(name = "modType")
    private int modType;

    @JSONField(name = "createTime")
    private String createTime;

    @JSONField(name = "targetUrl")
    private String targetUrl;

    @JSONField(name = "flag")
    private int flag;

    private int mSpanSiz;

    private int intentTo = INTENT_TO_NATIVE;

    public int getIntentTo() {
        return intentTo;
    }

    public void setIntentTo(int intentTo) {
        this.intentTo = intentTo;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getModName() {
        return modName;
    }

    public void setModName(String modName) {
        this.modName = modName;
    }

    public String getModUrl() {
        return modUrl;
    }

    public void setModUrl(String modUrl) {
        this.modUrl = modUrl;
    }

    public int getModSort() {
        return modSort;
    }

    public void setModSort(int modSort) {
        this.modSort = modSort;
    }

    public int getModType() {
        return modType;
    }

    public void setModType(int modType) {
        this.modType = modType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public int getSpanSiz() {
        return mSpanSiz;
    }

    @Override
    public void setSpanSiz(int spanSiz) {
        mSpanSiz = spanSiz;
    }

    @Override
    public int getItemType() {
        return MIDDLE_IMG_TYPE;
    }
}
